package com.alks.common.data.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author:xxxxx
 * @create: 2023-06-16 09:13
 * @Description: 用户Dto
 */
@Getter
@Setter
@NoArgsConstructor
@ApiModel("token信息表")
public class SysUserTokenDTO implements Serializable {
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("部门id")
    private String deptId;
    @ApiModelProperty(value = "登录账号",required = true)
    private String loginName;
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户类型 00系统用户 01注册用户")
    private String userType;
    @ApiModelProperty("用户邮箱")
    private String email;
    @ApiModelProperty("手机号码")
    private String phonenumber;
    @ApiModelProperty("用户性别（0男 1女 2未知")
    private Character sex;
    @ApiModelProperty("头像路径")
    private String avatar;
    @ApiModelProperty("登录IP")
    private String loginIp;
    @ApiModelProperty("登录时间")
    private Date loginDate;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("公司ID")
    private String companyId;
    @ApiModelProperty("是否为超管(0 否， 1是) 为了给不同的公司别设置超管")
    private Character superAdmin;
    @ApiModelProperty("用户角色")
    private String role;
    @ApiModelProperty("权限集合")
    private List<String> prgIds;
}
